<%@tag description="Error Display Tag" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@attribute name="errorStatus" required="false"%>


<c:if test="${errorStatus == 'BadPicture'}">
	<p>You can upload only picture!</p>
</c:if>
<c:if test="${errorStatus == 'BadSize'}">
	<p>Picture is to big!</p>
</c:if>
<c:if test="${errorStatus == 'BadPrivileges'}">
	<p>Access denied!</p>
</c:if>